databaseuser authentication tests
sharing of realm tests
in memory components modified and simplified
adminuser realm tests
upsert method for client repository