Fixes character_id cookie handling (fixes #2)