Slow Login and App switching after Migration to NC12

There were already some developers involved, so the debugging goes a bit beyond the scope of this board. Feel free to open an issue on the bugtracker: https://github.com/nextcloud/server/issues