access_token query param is in JWT format

access_token query string on websocket requests were added by 2f6b209174d0c8da228c469a1d7d067fdf758d86 but that token is in JWT format and it is not the user_token stored in the database.

The changes in this pull request makes streaming console output work again for me, but the pull request deserve feedback (specially) below the TODO line.