[BUGFIX] Enforce Query Rewriting more reliably
This initializes the security context if it hasn't been initialized
when the PersistenceQueryRewritingAspect becomes active.
Previously it could happen that entities which should be covered by
a policy are visible to anonymous users.
Releases: 1.1, 1.2