Update doc.yml

Changed the curl parameters for registering a user so it will be the same as the parameters in the documentation.