fix user creation in generic-agent provider