Update CAppUI.class.php

Pass username to $auth->userId function to allow LDAP auths to properly return ID field.
Merge pull request #279 from silentninja1/patch-2

Update CAppUI.class.php