Also delete legacy storages when deleting a user

Fixes #6788 

cc @karlitschek @PVince81