Change the check and method name. 
Instead of quering to see if the model is Fips, make the method assert if the security model is the default.
Only register the security provider on the default model