I think I fixed the cookies problem; it was a null pointer issue having
to do with the age of the cookies (right now it's only an hour, and I
needed to check if cookies != null before retrieving the cookies)
merging