Fix for a bug regarding github authentication found in testing