Fixed crash when opening password protected PDF files multiple times.