added support of cookies to the fakes