Only use GitHub authentication when run locally.