Replace session token with model-generated media token

This is a hotfix for [VOV-1677](https://bugs.dlib.indiana.edu/secure/RapidBoard.jspa?rapidView=3&view=detail&selectedIssue=VOV-1677), and should be pulled into both the master and develop branches