After a 24-year absence from soccer's biggest tournament, Algeria's last-minute qualification for the World Cup sent shock waves of glee through a country still reeling from a decade of civil war, persistent al-Qaida-linked terrorism, and massive unemployment and graft.