Better log messages on authentication failure