Fix lookup of login name