Revert "update auth.js"

This reverts commit f21e87bbbefc78cceff072bc80aaac514e527662.