Assert the site asks to sign in before it shows the page: the sign-in form with the notice a visitor (or an account without the permission) gets.
Examples
Then I should be asked to sign in
Then we should be asked to sign in
And I should be asked to sign in
Then I should be asked to sign in first
And we should be asked to sign in first
Pattern
Then(/^(I |we )*should be asked to sign in( first)?$/, …)
Part of @webship-js/jira-steps (github.com/webship/jira-steps), a step pack for Webship-js 2.0.x.