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
eep, stray space
Merge pull request #1421 from alex/fix-bug

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