LPS-39746 Avoid wrapping HttpOnlyCookieServletResponse more than once