CRM-13014 support userLoginFinalize() for UF classes (fix civimobile)

Replaces previous patch