Prevent running the API until consumer key is defined.