Fixed another bug in ws auth when no token is provided at connect time.
Merge branch 'test' into dev