Fix auth connection