setting type to hashed seems to not allow enablePasswordRetrieval. what if a user forgot their password?
When a hashed password is lost, the only option is to create a new one. Either by the user or by an administrator(-tool).
A common practice is to send a link to a secured page where the user can enter a new password.