fixed bug when no auth is present in config file