Fix socket.user_cookie