reverting #2f97cb9
adding test cases for Cookie auth to RestClientTestIntegration