integration test working via httpclient and cookies now