Moved session settings to global config.