WASHINGTON — Even as the United States poured billions of dollars into foreign military programs and anti-terrorism campaigns, a small core of American government-financed organizations were promoting democracy in authoritarian Arab states.