clumsy exception handling around extendedStat

a general except: clause, because we cannot catch DmExceptions
specifically. this is an issue with the python-c++ bindings.
fix storage interface tests after refactoring

the function _get_authentication moved into storage_common,
so the patching of the test functions had to be changed.