[FIX] Missing error alert on login 4087

Fixes [ticket 4087](https://www.openproject.org/work_packages/4087)