RE: script/console

Warren:

You might consider looking at functional tests. They’re the way to
test with cookies and sessions, etc.