This is probably a(nother) bad idea, but what about making `auth-source-pass-extra-query-keywords' a "tristate" option with a third, hybrid value, like `match-domains', that acts like `t' except with subdomain matching turned on?