key does not need to be decoded - it was used in base64encoded form
for encryption.

token had a stray newline.
Merge pull request #2 from csghormley/fix-key-decode-stray-newline

Some fixes.