Fix chcontext so it passes --secure as the first argument to