Code-reuse for authentication

Authentication wasn't working. Simplify `AUTH` to reuse existing code.

:sparkles: