[backend] fix sandbox constraints handling
Merge remote-tracking branch 'upstream/2.4' into fedora-2.4
[API] Fix wierd ldap code.
[API] fix 500 error on first login.
[API] Fix realname extracting during creation from ldap.