Simplified the system by adding failure logging to authenticate.php instead of the now-obsolete log_unknown