Make it so that API session do not expire.

[WP #4090](https://www.openproject.org/work_packages/4090)