The context sent to actions by Mistral has changed. It is now a class
with the potential to carry more context information - we only use the
security context at present. This updates the context usage to make it
use the security attribute.
Closes-Bug: #1718353
Change-Id: I759a1d7a2da0a978b5b784be9f0e58a549b51e06