Tests related to websocket authorization