Add primary API key support. close #32