Added methods to database to facilitate pulling old auth params for site id. Modified Edit activity accordingly