Create a credential to specify a username.
This is used with ssh authentication to query for the username if none is specified in the url.
The newly created credential object.
The username to authenticate with
0 for success or an error code for failure