Fix issue where the login process screen wouldn't disappear. Fix error message upon failed login.