Log authorization error

The exception is swallowed here, making it difficult to debug.