adapts the reset password service to the new structure