Move auth stuff in the xorgAuth class.