Fix PHP warning in front login action.
Enhance getModelTwigAttributes related listeners.