fixed bug where authentication had overridden original config settings