Fix for jwt_sign

Small fix and more clear variable names in jwt_sign