Fixed problem with login from new login requirements