Fixed password double encoding when updating a register

Some tests needed. It's your risk ;-)