MDL-52261 filelib: Do login check for files in blocks