Make sure cookies are passed before trying this