Added tests for empty username in the userinfo.