On drillbit, enable impersonation without authentication. From WebUI, click on a query from Profiles link -> click on the "Edit Query" tab -> click on the "Re-Run Query" button. The query would fail with the following error:
"HTTP ERROR 412
Problem accessing /query. Reason:
User-Name header is not set"
We should also provide a username dialog box for this tab.