The captain has a privilege for the freight during fifteen days after the delivery of the merchandise, if they have not passed into third hands.  He may even keep the goods, unless the shipper or consignee shall give him security for the payment of the freight.