In BVault.sol#depositERC20() it checks:
Any Liquidator can call CrossLiquidation.sol#crossLiquidateERC20() set supplyAsCollateral == true and bypass the two above rules. To fix this you can delete this feature or add both the checks in _supplyUserERC20CollateralToLiquidator() and if one of them is true just send the fund directly to the liquidator.
The same thing with LiquidationLogic.sol#executeCrossLiquidateERC721():
