Complete self-sign-jwt validation code and tests.