Fix/invalid form auth token error

see: https://www.openproject.org/work_packages/5743