Fix delete elsewhere

During the merge with #1369 we have lost the ability to delete non sign-in elsewhere accounts. This PR adds a test for this functionality and a fix as well.

ref #639