[TASK] Use generators for service objects in Authentication