Graham Potter’s spell as West Ham manager began with defeat as Aston Villa celebrated their 150th anniversary by fighting back to claim a 2-1 FA Cup third-round win.