after_login can now receive a context variable (usually the controller)

Entailed by WP [#15646](https://www.openproject.org/work_packages/15646).
Line is too long. [92/80]