title: e2e protractor test requiring oauth authentication
body: <p>I've got an Angular app that requires authentication with Google, granting of some scopes, etc, and I'm trying to set up automatic e2e tests for it.  I have protractor working well for me in general, but when we get to the google auth page, login, and get redirected, protractor fails the test because "document unloaded while waiting for result."</p>
  
  <p>Is there a tool or technique I can use to authenticate to a development google account beforeEach test?</p>
  
  <p>If I could just get the framework to hold on for a second while plain-old webdriver drives the login, and only really activate the angular stuff after I get to my target page, that would be perfect!  </p>