PasswordResetService, its dependencies and its tests
Code refactoring