Reset password automatic login if token is valid.