fixed bug when loading auth config from custom location