fix cache setup
support registration ldap
Merge pull request #574 from patriot1burke/master

federation registeration