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

Conflicts:

	CRM/Utils/System/Base.php
CRM-13016 add civicrm_api3 wrapper