Feature/prod password reset

- Fixes an issue where users cannot reach to password reset related pages in prod environment.
- Minor improvement.