Remove password and update exception handing when creating connector