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

So we only set grub password when it's MD5. Maybe we should inform the user in the setting description.