[FIX] User preferences not available within delayed job

Implements correction for [ticket 3021](https://www.openproject.org/work_packages/3021)