Fix missing imports in thing.tasks.APIKeyInfo