Added a external auth script for kerberos and ejabberd.