OTP import: support hash names with HMAC- prefix
Refactor convertHashName() method to accept hash names prefixed with
HMAC- or any other prefix. Extending the method should be easier in
Add tests proposed by Rob Crittenden to make sure we don't regress
with expected behavior of convertHashName().
Reviewed-By: Rob Crittenden <email@example.com>