Assert that the page is the login page of the board (the form with "Username" and "Password"), which a visitor is sent to for a page that needs an account. With a text, the page also says it ("The board requires you to be registered and logged in to view this forum.").
Examples
Then I should be on the login page
Then we should be on the login page
And I should be on the login page saying "The board requires you to be registered and logged in to view this forum."
Then I should be on the login page saying "you must re-authenticate yourself"
And we should be on the login page
Pattern
Then(/^(?:I|we) should be on the login page(?: saying "([^"]*)")?$/, …)
Part of @webship-js/phpbb-steps (github.com/webship/phpbb-steps), a step pack for Webship-js 2.0.x.