addresses #386, renamed error name for malformed/expired tokens

Addresses issue #386