Remove whitespace from Encryption service and LDAP controller
Change ldapUrls in LDAP realm to ldapUrl
Refactor javascript in login page