CXX-405 Integration test authentication

I extracted user creation to its own function, and created new users for each test.