Reorder code to avoid race condition in user creation
Reorder code to avoid race condition in user creation

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