remove cookieManager, add cookies to request and response