Fix #5: use private APIs instead of screen scraping.

Given we're no longer using a browser, there should be fewer
opportunities for race conditions, which should result in fewer
intermittent authentication failures.
Merge pull request #5 from toddmazierski/5_logging_in_fails_intermittently

Logging in fails intermittently