Using `URI#to_s` here means that given a URL resembling "telnet://user:pass@example.router.site.com:32/?enable=enable_password#with_sharp" the password will be parsed as "example.router.site.com:32/?enable=enable_password#with_sharp" which is definitely not intended.