1) more changes to address misusage of the original "logAuthenticationResults" function