I think people speed up because they don't want to make the first person (the potential door-holder) stand there while they take their time walking up. Not because they (the second person) are so lazy they can't be bothered to open a door for themselves if it looks like someone else might do it for them.