South Africa's ANC party, the celebrated political force that led the struggle against apartheid rule and ushered in democracy, is preparing to elect a new leader -- but it faces a perilous future.