Added setting of default CookieManager and policy