Fix old password on Python 3.