Login dialog not dismissed after the login error.