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