making the auth_authentication test case pass. Fixing a few bugs and adding some error handling to the authentication proc. Simon has added other test cases that have not been finished yet
defaulting username of site-wide-admin to email and making sure the stubbed ad_conn can handle multiple arguments (create-admin-2 bombed before this fix)
We cannot create the local authority in authentication-procs, because acs_magic_objects isn't defined until acs-create.sql, and is referenced by a trigger on acs-objects.
fixing broken installation: changing service contract implementation id columns in the auth_authorities table to reference acs_objects instead of acs_sc_impls table as the latter table is created later