Respond to the ssh username query

The ssh backend wants to know the username in order to connect to the
server and figure out what authentication mechanisms it supports, so we
need to catch that before we check whether the user's provided
authentication mechanism is allowed.