fixes validate_token_with_policy

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>