Refs #14568; fix subtle bug dealing with security wrapper in init of a view