Fixed an issue in fernet where the wrong exception would occur on an all-nulls input.

Also switched a few tests to not generate a key