Adds missing self in check_token

Change-Id: I8b0155a52832381a905b9edb46d9426af4a05d9d