Spurs had to rally to beat the short-handed Thunder.