client: relax check to support subclasses of Urllib3HttpGitClient (#1980)
## Problem
We extend `Urllib3HttpGitClient` to save credentials to a
`git-credential-store` in dvc/scmrepo.
See
https://github.com/iterative/scmrepo/blob/c15ffb7e36f947ea39de0c26c7ed8480a3e7a893/src/scmrepo/git/backend/dulwich/client.py#L9.
The previous implementation was passing all the kwargs, but after
0b0fed6ee6e75797fd50e8d5db7183b182784059, the extended class does not
receive `Config` object anymore, and goes through a separate code path.
## Fix
Relax check to also accept subclasses of `Urllib3HttpGitClient`.