modified server so it can read all configuration files, and added cookieSecret from server.js to credentials.conf