Fixing cookie set failure when first installing module (before config settings added)