replaced base64 encoder for jwt with orient base64 encoder for avoid duplicate code.