Add custom auth tests
AGJS-89 - Refactor authentication tests
AGJS-107 - Update comments in authentication rest adapter src / modules is object not array