check that login succeeds before navigating to target page
this should help with false failures in IEs

Change-Id: I2d6be6f28fff6f1f09f3f1a9eee38396c7cedb07