update nimbus-jose-jwt dependency to 2.26 and fix the affected files

I made some changes. Please review it.
you are right. I compared it to Nimbus documentation and changed it .