Show better error message about invalid access to a bucket.

Fixes for: TOOLS-491