std::auto_ptr->boost::scoped_ptr

Change-Id: Icb67d5a39c8ae05947be9da950a1feaaa85bc9d8
convert retype password input dialog to .ui

Change-Id: I97940629f93a5a1948a8771b9d9668bc28c49a91