Backport of CBL-4643, fixed in CBL-4742
CBL-4643 Failure in OkHttp authenticator
CBL-4742 Stop treating all connection failures as Server Errors