Log in as an account of the users registry (cucumber.js, worldParameters.users), or keep its session when it is the browser's already.
Examples
Given I am a logged in user with the "member" user
Given we are a logged in user with the "owner" user
And I am a logged in user with the "member" user
And we are a logged in user with the "owner" user
Given we are a logged in user with the "member" user
Pattern
Given(/^(I am|we are) a logged in user with the "([^"]*)" user$/, …)
Part of @webship-js/leantime-steps (github.com/webship/leantime-steps), a step pack for Webship-js 2.0.x.