Changed config.js to correctly return an object depending on the NODE_ENV environment variable.⁄
Added assert for cookie set.
Made middleware now setting a xsrf-cookie instead of putting it into the local variables.
Minor Bugfix.