fix issue where using an empty seed or entropy value, MnemonicCode does not throw the appropriate exception