After encountering the same problem myself, I checked the library's source code. You can see on line 157 here lib/actions/end_session.js, that you need to add parameter "logout" in “session/end/confirm” request to delete the session from storage and cookies.