Repair legacy storage ids with md5 ids

If at least one md5 id is found, query the whole user list in a chunked
manner then process every user's storage that would have an id with more
than 64 characters.

Enhanced repair unit tests to all cover the md5 ids as well.