[#3033] - Removed use of clientSessions module as we can just use express now. Also added in support for environment variables for config options