fixes #2127: added support for root password hashing other than MD5