fix error on password processing in the register form