Add api key on topics request

If an Api key is specified for a topics request, actually add it to the query string.