Add logging to identify authorization issue