[3.8] Fix #1360 : Registered providers are not removed on user delete