Fix bad initialization of 'security' extension