Bugfix for older Pythons that lack hmac.compare_digest()