@danielkesselberg Thank you for your help so far. I did write a patch for "tests/Core/Controller/LoginControllerTest.php" using createMock. This is something I have never done before, so it might be total rubbish...