Combine multiple calls of unset_userdata into one

Because CI sends cookie on every unset_userdata call.