fixes #2127: added support for password hashes other than MD5

Or we could use salt of max length - 16 bytes long one...