Use jsonStr2Buffer in unauthenticated().
Use jsonStr2Buffer in unauthenticated().

Fixes string length vs byte length issue.

Jira-issue: WP-66

krishnabangalore/Webinos-Platform,krishnabangalore/Webinos-Platform,hansmy/Webinos-Platform,webinos/Webinos-Platform,hansmy/Webinos-Platform,hansmy/Webinos-Platform,krishnabangalore/Webinos-Platform,hansmy/Webinos-Platform,hansmy/Webinos-Platform,webinos/Webinos-Platform,hansmy/Webinos-Platform,webinos/Webinos-Platform,krishnabangalore/Webinos-Platform,webinos/Webinos-Platform,hansmy/Webinos-Platform,krishnabangalore/Webinos-Platform,krishnabangalore/Webinos-Platform,krishnabangalore/Webinos-Platform,hansmy/Webinos-Platform,webinos/Webinos-Platform,krishnabangalore/Webinos-Platform,webinos/Webinos-Platform,krishnabangalore/Webinos-Platform,webinos/Webinos-Platform,webinos/Webinos-Platform,webinos/Webinos-Platform,hansmy/Webinos-Platform