It's not like for like. The comparison they use is life expectancy at birth now versus life expectancy at 65 in 1850.
If you use the correct comparison i.e. life expectancy at 5 for both, it's 54.6 in 1841 and 79.4 in 2011. I link to the ONS source is a separate post.