Added support for Aegis authentication.