First LDAP data sent over OpenID

Let's call this very initial but working version. Since it required a hard merge from master, would be good to sync it back :).