Fix the OAuth iframe functional tests.

The OAuth iframe tests open new tab/windows. Any test that opens a new tab/window should close the new tab/window.