Creates a JWT from the provided string. The string must consist of 3 base64 url encoded parts: a header, payload, and signature. The parts must be split by a period character. The signature part is optional. If the signature is excluded, the string must still contain a period character in its place. Valid formats: "header.payload.signature" and "header.payload."