Add parameter "installed" to api/create_test_user

For our tests we'd like to create a test user without having the app installed.