CookieSyncManager::createInstance() needs to be called before CookieSync...

...Manager::getInstance()