A US-backed initiative aiming to unify Libya's divided institutions tests political loyalties in the country's west.