Home market Microsoft lost millions of dollars’ worth of Xbox gift cards in an online scheme. Turns out it was an inside job