Fixing cookieSecretChars
Cleaning up templates