Adding error condition when no cookie secret provided