Fix connecting issue with Jenkins server which requires authentication