fixing api_key problems in new course completion api