Switch to rust-url and added support for password based authentication.

This fixes #11