Fix auth stuff