----------------
- Use a better way to determine the basic authentication information
that is passed in the url so the logic does not fail when the url
has an ` sign somewhere else.
[maurits]
- Fixed error "local variable 'AUTHORIZATION' referenced before
assignment" when not using basic authentication
(http://user:pwexample.com).
[maurits]