Make username source configurable

for HUE-1677