Statistical Decision Making for Authentication and Intrusion Detection