I'm having this exact issue. Did you figure out how to log out without opening a new tab? I think they should have an API endpoint for signing out the user, but it seems they don't