Fixed warnings thrown off by pkg_resources.

* The warnings are just ignored since they're not very useful.
Nicer error when you can't login.