Handle XHR on reset password #6141

Fix all redirect