Updated tests to use SHA512 instead of SHA1.
Changed from SHA1 to SHA512 for secure tokens. Tests are all green.
Implement custom messages in decorators.

Related to issue #193.