when loading, try using main password for history
fix clearing duplicate passwords
fixes dubslow/qTox#2
fix loading an encrypted chat log failing