Add credential support.
Add online clone tests.

Roughly based on the libgit2 online test setup.