Weird indeed.
There is only one 30 minutes configuration option and it is connected to this setting:
Visit timeout -Number of seconds a user must be idle before his/hers last visit data is updated (primarily affects new message indicators).
It should not cause you to logout after that time. I guess it’s not a cookie problem actually.
Are you visiting forum.osm.org or forum.openstreetmap.org?