Fix the cookie deletion in Safari

Change the cookie deletion method, use cookieStore.remove instead of
delete $cookies['cookie_id'].