Creates and configures an Express router with authentication endpoints using the
provided AuthController instance. This factory function follows the composition
root pattern where dependencies are injected from a central location rather than
being instantiated within the route module.
Authentication Routes Factory Function
Creates and configures an Express router with authentication endpoints using the provided AuthController instance. This factory function follows the composition root pattern where dependencies are injected from a central location rather than being instantiated within the route module.