Return proper current-user-principal on v1 endpoints - fixes #23306
Return proper current-user-principal on v1 endpoints - fixes #23306

endsguy/server,endsguy/server,Ardinis/server,nextcloud/server,owncloud/core,pmattern/server,nextcloud/server,andreas-p/nextcloud-server,pixelipo/server,phil-davis/core,pollopolea/core,nextcloud/server,owncloud/core,endsguy/server,andreas-p/nextcloud-server,xx621998xx/server,xx621998xx/server,cernbox/core,michaelletzgus/nextcloud-server,Ardinis/server,andreas-p/nextcloud-server,IljaN/core,jbicha/server,owncloud/core,jbicha/server,cernbox/core,Ardinis/server,sharidas/core,whitekiba/server,xx621998xx/server,sharidas/core,pixelipo/server,pmattern/server,pixelipo/server,cernbox/core,owncloud/core,whitekiba/server,bluelml/core,pollopolea/core,IljaN/core,pixelipo/server,michaelletzgus/nextcloud-server,Ardinis/server,cernbox/core,andreas-p/nextcloud-server,jbicha/server,whitekiba/server,IljaN/core,pmattern/server,sharidas/core,michaelletzgus/nextcloud-server,pmattern/server,xx621998xx/server,bluelml/core,IljaN/core,owncloud/core,pollopolea/core,whitekiba/server,nextcloud/server,cernbox/core,endsguy/server,endsguy/server,bluelml/core,andreas-p/nextcloud-server,whitekiba/server,IljaN/core,bluelml/core,pixelipo/server,sharidas/core,sharidas/core,michaelletzgus/nextcloud-server,pollopolea/core,bluelml/core,jbicha/server,pmattern/server,jbicha/server,xx621998xx/server,Ardinis/server,pollopolea/core