EUCA-8699, fixing bad head bucket and head object requests