message: Check for error before testing JWT challenge success
  (fixes
diff: @@ -63,7 +63,8 @@ exports.errorHandlingChallenge = () => (err, req, { statusCode }, next) => {
  next(err)
  }
  -exports.jwtChallenges = () => (req, res, next) => {
  +exports.jwtChallenges = () => (err, req, res, next) => {
  + if (!err) {
  if (utils.notSolved(challenges.jwtUnsignedChallenge)) {
  jwtChallenge(challenges.jwtUnsignedChallenge, req, 'none', /jwtn3d@/)
  }
  @@ -71,6 +72,9 @@ exports.jwtChallenges = () => (req, res, next) => {
  jwtChallenge(challenges.jwtForgedChallenge, req, 'HS256', /rsa_lord@/)
  }
  next()
  + } else {
  + next(err)
  + }
  }
  exports.serverSideChallenges = () => (req, res, next) => {
  