encrypt authCode to textile and decrypt now works well.