TNL-782 provide frontend with JWT ID Token for communicating with notes-api

https://openedx.atlassian.net/browse/TNL-782

@jimabramson @polesye @olmar @jmclaus 
should this response have JSON or text/plain content type?