Fix smoke tests

- security config is only available when MR cluster is available.
- should not be adding "None" to environment in shell.