More aggressive window handling in OpenID login flow