Only send session cookie to API if it exists (is not null)