Fixing AHP sandboxing issues with managed settings. (#331667)