Validate the token properly when invoking the /check_token end point