Fix/auth for wp export

https://www.openproject.org/work_packages/10435
did this work before when the object was passed to the service?