You've got something going on that really doesn't make much sense. If you turn on a cookie tracker, you'll see that it actually sets all the cookies properly, but then when it redirects you to the start page it's actually deleting the cookie for your userid.

The part that makes no sense is that the only place that cookie ever gets deleted is when you hit the logout button. So there is somthing funky in the setup thats making that cookie get deleted on the redirect.