removed debug code in hmac authenticate