Feature switching uid to username

Switches the use of UID to username instead as it is unique.
Also adds a simple test case for ngidp to check default enability