Backport HMAC authentication for CI_Session