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.