Add logging to mkt authentication