Fix some of the login form behavior when putting wrong username or password.