Handle auth errors from pre-auth
Handle auth errors from pre-auth

Some servers sometimes send 1017 during pre-auth, although sometimes
they wait to send it until the auth step.

woodbusy/net-tns,SpiderLabs/net-tns,mrakhmanov/net-tns