If you have specified the username & password authentication method in the configuration file, then you should also specify the username and password configuration items.
For example, in the configuration file:
auth_type=userpass auth_path=userpass username=username password=password