Fix auth method