Fix/members pagination 3217

Implements https://www.openproject.org/work_packages/3217

Suggested changelog entry:
* `#3217` Fix: [Project settings] Page not found when adding/deleting members and clicking pagination