Add LDAP support + switch to 0.5.8-beta3