Fixed encoder factory for user password