Apllied login option, url option for github enterprise

Your branch is better than original branch for me.
So I forked from your branch.

And I just commit below feature

* Applied github enterprise host not just github.com

Please merge this branch if you give approval.

Regards.