parsed domain, name password for basic auth

Signed-off-by: abbr <wenfred@gmail.com>