Fixed: Prevent submitting the form for each request.

Created a class variable in Service.java which will hold the cookies when $metadata request is handled using HTTP Negotiate Helper for form based authentication. 
For each subsequent requests after that, we prefill the cookies with these cached cookie list (which is checked before submitting form in NegotiateHelper).

Also fixed couple of warnings/errors in one test class.