Auth with tests

Authentication + Tests

Better setup for Unit and E2E tests

When the PR is merged I'll make some changes to the Wiki regarding this
you need this mocks module to be loaded on the app or is it possible to only inject it during tests?