replace deprecated method with new one

GitHub.connect() method is deprecated. We should use GitHub.connectUsingPassword() instead.