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