Auto-generated Yii 1.x application, enhanced to use MySQL- and LDAP-based user authentication