They got lucky. Still, it shows that they were grovelling to their white overlords. The Ottomans during their peak would never do such a thing.
The debate is flawed in essence. You are forced to either side with secularism or Shabaab/Taliban. I propose that we support neither, but try to implement a just Islam that Allah SWT revealed. It might seem like a pipe dream, but it isn't like we don't have precedent. It has worked before, and Allah SWT does not send rules of governance that cannot be implemented. The defeatism prevalent amongst Muslim Youth is very sad. May Allah SWT help all of us.

The secularist kids' first thought when they hear shari'a is alshabab, they use the strictness of certain groups in order not to admit that they believe man made law is superior than Allah's.
Those w groups you cited have good and bad in them but there is no doubt that they are absolutely better than the secularists in identity crisis.