Refactor BaseWicketTester CookieHandling

I have changed the cookie handling in BaseWicketTester. Why? Because the Cookie class is not immutable any change to any cookie is not isolated as one would expect. The cookie instance and not the value is used on any access.