Added ability to authenticate

I've added a possibility to use API login and password to authenticate to Jenkins. Also to make this I had to modify URI module calls.