Their first chance came when Steve Finnan played David Edwards onside but, one-on-one, Liverpool keeper CharlesItandje made an impressive stop from the Luton forward.
Devaney produced the cross of his life from out wide on the right and Foster rose highest to nod the ball past the flailing figure of CharlesItandje, who could only help it into the net.