[#32398] Some older php admin users can't login (Fix #2315)