Various fixes and additions

Change user password to specified if user exists.
Make --query default to True.
Default uri_v3 based on uri if not provided.