Fix for login, bad redirection.