Jack Wilshere's Luton Town reach the FA Cup third round with a 4-2 victory over National League side Fylde.