Logging Authentication errors