Fix PasswordType

This commit fixes an error when hex_md5 and other schemes that does not
have max_salt_size. This kind of schemes are needed to migrate from very
old and stupid databases.
Merge pull request #74 from clee704/master

Fix PasswordType