The president is set to return to his campaign theme of democracy in peril as his party fights to retain its hold on Congress in the midterm elections.