Register fixed to do sha1 hash on password