Behat and custom login pages I'm trying to use Behat and Drupal for BDD, but I'm running into some authentication issues. Simple steps like:

Given I am logged in as a user with the "administrator" role


Fail because I'm using Drupal's CAS module, which essentially customizing the /user/login page. Any idea on how I can get past custom login pages with Behat?
You can test login form in this way:

When I visit 'user/login'
And I fill in "username" for "name"
And I fill in "userpass" for "pass"
And I press the "Log in" button
Then I should see the text "some text"