A housing organisation has apologised to a stroke survivor suffering from depression after taking two months to fix pipe issues in her flat.