added missing alloc to fix crash when deleting login information

1 job for master in 0 seconds (queued for 11 seconds)
Status Job ID Name Coverage
  External
failed jenkins

00:01:45