use correct error types

* fix JsonWebTokenError -> you are always getting an ordinary javascript error instead of name = TokenTypeExpired or JsonWebTokenError