Fix auth failure on syndic with external_auth
Fix auth failure on syndic with external_auth

This is totally @thatch45's fix, but if it's broken it's probably my
fault.  Refs #24147.

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt