CLC-4275: fix test flow control, OAuth handling for Google-related Selenium tests

This fixes problems with the Google-related Selenium tests that have caused false test failures:
1. Makes the tests more tolerant of UI variations when requesting a Google API token
2. Replaces fixed test pauses with explicit waits for DOM updates to preclude false failures and speed up execution
3. Removes several redundant task tests to speed up test execution