Fixed bug where wrong cookie names were not using values defined via the config file - thanks cure85