use cookie passed by content. CookieManager is no longer required.