BS-11147, deactivate the security if it was not activated in the last migration step