Fix for #1925: make sure group and user are in the same facility when saving.
Fix for #106: One fix, one workaround for bad URL inter-app dependencies (see #1928)