Fix AutoCreateUserTest and logging statements.