Change the data structures to better reflect the 10.20 protocol. (login
reply generation still doesn't work)