Added utility for API key authentication.