Suffix the username with Real domain value If not speficied during basic challenge

Sometimes we need to have the realm added as suffix of username like mbridard@<REALM> instead of mbridard to valdiate a Basic authentication.

This commit add this possibility keeping also the standard basic way.