unauthenticatedGithubApi now just uses $.ajax, update tests accordingly