PLAT-6530 Enhance security manager setup

Provide mechanism to avoid security warning on startup
Prevent security manager from being weakened
Reviewed-by: Chris