Add setCookieWithOptions