Three London councils have launched a legal challenge over proposed cuts to affordable housing quotas in the capital.