added a global flag to disable/enable authority lookups