authz: fix isTest check for debugging
Created by: Strum355
VSCode debugging results in a file called __debug_bin
that wasnt being caught by this, resulting in GetProviders
hanging indefinitely when debugging (but not when testing)
Test plan
N/A