Fixes #4640: Changing security policies now trigger a promise generation

http://www.rudder-project.org/redmine/issues/4640