Which US President was elected by the population? As far as I know, they were all elected by the results submited by the electors of each state, or the selection of the house of representatives (or through succession after a vacancy of the office).
Pretending there was a popular vote when there wasn't is like claiming whichever team scored the most points during a series of games won the series dispite the fact that the series is decided based on which team won the most individual games (although some tournaments do include total points scored as a tiebreaker).