Fix failing email confirmation test