Fix private repos issues.

Now, it uses authentication to access private repo pulls.