Fixed password reset redirecting and other stuff