Check that master key is properly decrypted


The code that encrypts the master key decrypts it again to check for problems, but doesn't do anything with the decrypted key.  So the only problem the check can find is if the decryption throws an exception.

This patch adds `FC_ASSERT` to check the decrypted key is the same as the original.

This compiles, but I haven't actually tested it yet.