Fixed bug with login not working with saved username/password