for security, changed to not saving raw master password.
python version is 2.7.x