Change URL::toString()

* Returns single-line output with just the URL
* Masks password with 8 asterisks (********)