Marc-Andre ter Stegen was the hero as Barcelona needed a penalty shootout to beat Real Sociedad (1-1) on Wednesday and…