Add auth for private, non-GitHub repos (#2826)