Fixed invalid cookie check