Embattled Socialist leader aims to capitalise on housing crisis to remain in power