Initial identity collection in the database

Define the initial identity structure in the database, and tests.
what happens if the password is updated in the 'identity-credential-provider-wave-hands-thing' concurrently ?