Suitable for multi-tenant applications needing to branch authentication strategies based on request details. Fixes: gh-6722