Andrew Johnson actually said...
As requested in this communication, General Grant is instructed in writing not to obey any order from the War Department assumed to be issued by the direction of the President unless such order is known by the General Commanding the armies of the United States to have been authorized by the Executive.
02/10/1868