library for setting HMAC'd cookies