Add custom auth tests
AGJS-89 - Refactor authentication tests