read auth from config