Support of connection URIs containing credentials

Signed-off-by: Aymeric Brisse <aymeric.brisse@perfect-memory.com>
Minor : remove trailing spaces

Signed-off-by: Aymeric Brisse <aymeric.brisse@perfect-memory.com>