fix auth detection in codetriage
fix and test valid tokens