Added retry logic for grabbing the login form.
Added more test coverage for login retry logic.
Merge pull request #12 from andrewkatz/login-form-retryable

Login form retryable