Prevent an API mismatch warning by faking a cookie