Fill in the sign-in form with a username and a password as typed in the step, and submit it. It asserts nothing: follow it with a step that says what should happen (signed in, or a sign-in error). For the accounts of the registry use "I am signed in as".
Examples
When I sign in as "alex" with the password "not-the-right-password"
When I sign in as "nobody" with the password "whatever"
When we sign in as "sam" with the password "wrong"
And I sign in as "admin" with the password "wrong-password"
When I sign in as "alex" with the password ""
Pattern
When(/^(I |we )*sign in as "([^"]*)" with the password "([^"]*)"$/, …)
Part of @webship-js/jira-steps (github.com/webship/jira-steps), a step pack for Webship-js 2.0.x.