rewrote github authentication for Travis CI