[Bug 371062] console logins fail when LDAP authentication is used