Log out, the way the site does it (its user menu, the person's picture, then Logout), and wait until the session is gone.
Examples
When I log out
When we log out
And I log out
And we log out
Then I log out
Pattern
When(/^(I |we )*log out$/, …)
Part of @webship-js/kanboard-steps (github.com/webship/kanboard-steps), a step pack for Webship-js 2.0.x.