make username typeahead working with global accounts