Prevent creation of unattached accounts (behind config flag)

Uses the AbortNewAccount hook.

Bug: 67901
Change-Id: Ic24c334c68e154cb1c39d8eac6d0da431087f49b
Merge "Prevent creation of unattached accounts (behind config flag)"