Fix failing tests in passport using new api