added support for RFC 1123 date format

cookie path setting was using the preferred rfc1123 format, this change fixed the strptime exception.