Teacher unions fight to keep clout with Democrats