Use Base64 helper for cookie state provider