Useful for partitioned (sharded) services that need to make partition-related decisions at authentication time.