Updated cad authentication.