[JBERET-88] Ensure methods that do security manager checks run are accessed through privilege blocks when and where required.