Made IdToken parsing slightly more robust