fixed static tests
[Fixed] resolved performance issue causing sesison resets
session cookie is stored and reused to avoid session creation
made public as it was used from a test case
using cookies from endpoint
fixing test mock data
Merge pull request #1584 from LorenzoBoccaccia/httpclient-lifecycle

Httpclient lifecycle