Using Cucumber with Lockdown

Has anyone had any issues using Cucumber with Lockdown.

in the following scenario, I am logged in as an admin and so should have
:all access rights, however I get the following error.

Authoriztion filed!
prms: {“action”=>“index”, “controller”=>“admin”}
session: {:expiry_time=>Wed Oct 28 13:33:43 +0000 2009,
:access_rights=>[“user_sessions/new”, “user_sessions/create”,
“users/new”, “users/create”], “flash”=>{}, :return_to=>"/admin",
ff27628c482546f0604f7d241c”} (SecurityError)

When I test it manually on the site everything works as expected.

Sorry, my bad, I just noticed that I wasn’t logging the user in
properly. It works now.