Revert "Raise an error if the api key isn't set or is nil."

This reverts commit d885b56da9c3e81e0f0b94b9a611df905e0bacf2.