diff --git a/cmd/proto.go b/cmd/proto.go
index 0f1f949be60124a741d8f31c2f47fa74847efbb6..3d2568e16d567dd4b97195cc5314e54be46a61f9 100644
--- a/cmd/proto.go
+++ b/cmd/proto.go
@@ -69,8 +69,8 @@ func loadOrInitProto(protoUserPath string, password []byte, storeDir string,
 		}
 	}
 
-	jww.INFO.Printf("Using LoginLegacy for proto sender")
-	client, err := xxdk.LoginLegacy(baseClient, e2eParams, authCbs)
+	jww.INFO.Printf("Using Login for proto sender")
+	client, err := xxdk.Login(baseClient, authCbs, identity, e2eParams)
 	if err != nil {
 		jww.FATAL.Panicf("%+v", err)
 	}