UTILS: use encryption when accessing LDAP in password manager
REGISTRAR: fixed delete of new application

- If application is in state NEW and has some reserved logins,
  then logins must be deleted from DB before deleting application.