fix #77 - properly set username in web client (using query string instead of headers, headers are not available in the kavascript API)