* sdk/logical: handle empty token type string values as TokenTypeDefault * add test case for missing token_type value