[5.0.52][core] avoid overwriting password encryptions