support auto enable cookieModules