Credit market frictions and political failure