fixed refresh bug for login

formerly when a user clicked “forgot password” the login page refreshed
which we don’t want if the user already entered credentials