Configurable authentication lookup

Good catch, thanks.