Fixed login indexes not being created or deleted

Logins created during user creation get indexes made but don't when
logins are added to an existing account and therefore the login couldn't
be found when used again, causing a 409 dupe exception when trying to
add the login again.