don't throw null pointer exception if request has no cookies