Add in RSA key support (missing beforehand).
Fix issue with lib not reporting 401 with appropriate challenge

It didn't issue the 401 and a challenge when calling
authenticated_userid() if there was a missing JWT token.