Union Pacific was HQd in Omaha NB. Central Pacific was HQd in San Francisco. Since both were formed in 1862, Lincoln probably never worked for them.
It doesn't address the culture of corruption that led to it though.