Added basic password checking. scrypt is being dumb and not validating the hashed passwords even when the hashes are byte-for-byte identical, so off to find a bcrypt library again...
Switched from libscrypt to Openwall's bcrypt implementation. It works!
Split the new password grid into its own GtkWidget so it can be integrated into other places (such as GtkMessageDialogs).