Judge won’t dismiss complaint against pipeline security firm