auth-session: deal with undefined TTY's