Authentication refactoring implementing a simpe Facade pattern for clarifying code intents.