Proposed implementation for Pest issue #51 (Add cookie support to Pest)

I tried as much as possible for the code to look like the rest of Pest.php.
It works for at least my use case (cookie authentication).