As the year ends, the moral authority of the presidency is in tatters