Fixes security provider