Added access_token cookie

Basis now requires an access_token, which is stored in a cookie called "access_token". I've added the relevant code to add the access_token cookie to the file_get_contents request.