Fixes #4640: Changing security policies now trigger a promise generation
Merge pull request #487 from VinceMacBuche/bug_4640/changing_server_security_should_trigger_promise_generation

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