cpq_auth middleware from the glider package.