Log in through the login form as an account of the users registry, as a person does: a new session, never one taken over. For the scenarios that test the form itself; the step fails when the app refuses the login. "and ask to be remembered" ticks the "Remember me?" box first.
Examples
When I log in as "user" with the login form
When we log in as "admin" with the login form
When I log in as "user" with the login form and ask to be remembered
And I log in as "developer" with the login form
When we log in as "user" with the login form and ask to be remembered
Pattern
When(/^(I |we )*log in as "([^"]*)" with the login form( and ask to be remembered)?$/, …)
Part of @webship-js/codeigniter-steps (github.com/webship/codeigniter-steps), a step pack for Webship-js 2.0.x.