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

https://openedx.atlassian.net/browse/TNL-782

@jimabramson @polesye @olmar @jmclaus 
please add a unit test (for both authenticated and non-authenticated user).