cookie helpers for response.