Fix another test by waiting on something relevant for logout (bug 1020262)