Preserve the file mounts if a user enters a wrong password (see #5529)