Fix for security manager being disabled.