Hey,
I'm using PDFtk server for several tasks dealing with pdf files.
According to the manual and the examples - PDFtk Server Examples
there should be a way to decrypt pdf files.
Decrypt a PDF
There is also a possibility to merge 2 pdf files that one of the is encrypted
Join two files, one...