configuration option whether to store access token in a cookie

Entailed by WP [#15646](https://www.openproject.org/work_packages/15646).