Add exception handling for xenapi.login_with_password