REFACTORING: Minor.
FEATURE: Authentication against multiple sources (of different types).