Probably Lincoln. From that link (emphasis mine):
Mainstream historians generally hold that Lincoln was heterosexual… However, his intense bonds with men may or may not have had more meaning to them, with one notable case being his close friend Joshua Speed, with whom Lincoln lived together – and slept in the same bed as – for four years.