Fix auth after adding the users.
Fix unit tests and full integration test.