Authoritarian regimes use spying to deter protest. But this can encourage people to stand up for what they believe in