cdh5.0.0b1-rc8
If SASL, its gets the real username through the protocol and not from the username of the session. In case if impersonation, the username of the proxy user needs to be hue and the proxied username needs to be added as a configuration parameter.