Add parameters to get_url for the url username/password

Fixes #6928