Handle XHR on reset password #6141

this doesnt look good. A simple get request to forget password page will flash error !