Additional fix to getlogin