Ming Jin: added Jenkins basic auth & port support