Fix bug where non active user was being signed in upon password reset