add test to ensure the new format of secrets.json is not broken after secrets refactor
We have recently refactored secrets storage and crypto code. Pixelated had MAC auth failures when trying to use the refactored code, so there is probably something broken in the refactor and the old secrets are not being stored correctly after the refactor.
We have to add a test to ensure whatever is stored in the new format matches exactly what was stored in the old format.