Password Encryption Issues  [#137responsible:none state:fixed]

Fixed issue with password encryption where leading 0 is
truncated in some circumstances making the string
representation of the hash invalid.