Andrew johnson was selected as president lincoln's running mate in the 1864 presidential election in order to appeal to