3ef6ccee7f
**Problem**: - key_type stored as "user" (with quotes, len=6) - Future WHERE key_type = 'user' would silently fail **Solution**: - Added ApiKeyType::as_str() method - Returns bare string: "system", "user", etc. - handlers.rs:437 now uses as_str() instead of serde_json::to_string() **Impact**: - Existing test keys in test DBs can be safely ignored - Production DB has no api_keys yet - No code relies on JSON-quoted format