Generate test user

This adds a feature where we can generate a test user in the database, and provide a JSON file containing the username and apiKey of that test user.

This will allow API clients to test their code on CI services.