Wait until the object is logged in before trying to set the key handler. It carries some prerequisite on talking to the BMC, so it is better handled in the logged handler.