Bug 976393 - ensure authentication errors log as much detail as possible. r=jedp