Log authentication failure reasons

Change-Id: Ib6e8c259b9372c49223721b7178a1056e8723cae