If it isn't filtering by the
user-agent string, its probably setting a cookie via
img (which mechanize doesn't load), or some form value via
script...
so it could be as simple as fetching an image, or set some extra form values normally set via
script ... it all shows up on the wire :)