[enh] fix parameter name for admin password
[fix] save password
[fix] bug in saving password setting
[enh] correctly implement upgrade script