Kuwaiti authorities say the alleged leader of a terrorist group has died after suffering a heart attack while in custody .