Moved the deleteCookie functionality to CookieManager (former CookieFactory).