strict check of jwt token part count (avoid "TypeError: Cannot read property 'payload' of null" in some cases)

May be related to #15