[Bug 881852] Some tests/fixes for profile external accounts