[task] adjusted test to changes in connector
Merge pull request #162 from dacrome/refactore-token-validation

Refactore token validation