Authorization class using hmac.