Removed wrong call to delete_cookie.