close auth success window after window.opener is sent the user data