Fixed the unit tests for the full websocket implementation

We landed the websocket implementation in steps, and asynchronously. This patch reflects the work needed to integrate all the pieces.
Tiny fix

A previous patch missed this change.
Fix Issue #60 - Update BoadcastUpdate method
Fix Issues #62 - Fix handleAuth method
Fix issues #65 - Fix deserialization method
Fix issues #67 - Fix wrong variable ref
Fix Issues #42 - Add Allow CORS to /api/sync