Ring middleware for HMAC checking.