Cookies on Android (React Capacitor) do not work

Do you have any clue why Android does not seem to be supporting cookies? I would need those at least for the authentication process. iOS works without any issues, as well as the web application.

I could fix the issue by loading the native CookieManager. Maybe this should be done by default on Capacitor.

import com.getcapacitor.BridgeActivity;
import android.webkit.CookieManager;

public class MainActivity extends BridgeActivity {
  @Override
  public void onPause() {
    super.onPause();
    CookieManager.getInstance().flush();
  }
}