done the same adaptations for the red5 apps and the api demo

based on bigbluebutton/bigbluebutton@2642cd048609cd8ba5741dfbd1a9e8baa891c8fc
pulling the entire bbb-lti from bigbluebutton/bigbluebutton@636793d65105f5af809ee5b21a351dfde122716a