Naughty, this problem is currently being discussed here along with an example script:
http://www.tgswupdates.com/cgi-bin/i...rum=3&topic=75
Btw, you could probably just have .htaccess look for the accept-cookie header without bothering with an actual cookie being set at first.
D'oh. Different issue. Nevermind that second part. The auto-set username/password cookie scripts will work though.