Revert "fix global $AUTH hiding $auth"

Yes, it's hiding $auth, but detail templates might depend on that. We
need to fix this properly.

This reverts commit 343aa1749f17e62fa68e26193011a5051025881a.