Implementing basic authentication when connecting to jenkins
Reading host name from configuration (if present)