Password protection

Add the possibility of protect the .appmigrate file with a password
Based on the AutoUpdate-on-startup branch.