enhancements to create_user for tests