It seems like the loginByApi command doesn't allow tests to skip the UI log on form, despite logging in successfully.
By cloning this repo and replacing lines 11-13 in the user-settings.spec.ts with:
cy.loginByApi('Katharina_Bernier');
The issue manifests. Is there something more that command needs to do in order to allow integration tests to skip the UI logon form the same way LoginByXState does?