improved: Multi login (local, LDAP) (see http://www.mantisbt.org/bugs/view.php?id=9954)