[PLINK-592] - EntityManagerProducer is setting security context to null.