Require api key to be public

This prevents server communication when the api key hasn't been
configured, such as in rake tasks when ENV isn't available (See #79).