DSA-64 (3): Catch TypeError that can occur due to bad JWTs