Fix LDAP group creation without config bug

Doesn't make a huge difference. If you tried to make a group without a
config set up, it would throw a NPE. Now it just tells you not a valid
group name. No real functional change.
Make rest work with LDAP login
Merge pull request #59 from metridoc/fix_ldap_rest

Fix ldap rest