Add logger statement to troublesome auth function.