Moved auth stuff.