Fixed problem with login.