Attempt to fix password reset redirects. See #957