Fixes security persistence configuration