Middlesbrough had to battle through adversity to earn a point at Luton Town