Authorities in Spain say a judge has ordered an autopsy for John McAfee, the gun-loving antivirus pioneer, cryptocurrency promoter and occasional politician who died in a prison cell pending extradition to the United States for allegedly evading millions in unpaid taxes.