Topic: Problem with integration test and authentication

So I have a test that logs in and then goes to a different part of the site. I create user and login, but it seems to always. However if I boot up mongrel and navigate the site it works just fine. Any ideas? Also how can I just print out the html of the page its on just to see what's going?

Rails, Javascript, Actionscript and More.