Use Github auth for git clones if the PR is private

Use github oauth token or a github user and password for git clones.

We had problems cloning private repo's. 

Do you mean when using user and password authentication, or whenever?

It required a `.netrc` for us, and we'd rather avoid needing to drop one down on deploys.