The link in the message is missing the returnto parameter and than the login is returned to the main page, see bug 34429 or bug 23222.