Modified api_url creation to allow for trailing backslash
Add support for jenkins servers that require authentication.
Merge