Got delete working with pexpect
Replaced the kinit call with pexpect
Updated kerberos_add to use pexpect