Fixed parsing of username and password encoded in the URI