chaging the username and password arguments order for rpc call