Fixing bugs related to xmlns

Also renaming LinkAuthId to LinkAuthorizationId