Fixing the authorization db check to work for Mountain Lion