Can now log in when a previous login failed and error message still showing