I think the SID thing is usually caused by the cookies not working correctly. So that might be something to look into...
Also you caught me in a good mood at the time so I also set you up as an Alpha tester on CBConnector.com... so you can download v2.0.0 Alpha 3. You will need to download the xAjax Mambot and the CB Connector as a minimum... the CBC Wrapper will also help with what you are trying to do as it appends the SID onto the end of the URL. It can open the forum wrapped, in a separate window or a new window... Some of the other gadget there might be handy as well... Post back any issues with Alpha 3 in the Alpha 3 forums on CBConnector.com and your set...
Enjoy,
Greg