Allow API key as a query string variable

Signed-off-by: Marcel Oomens <Marcel.Oomens@cromido.org>