Such lien shall take precedence over all other liens or encumbrances except taxes and may be foreclosed against the lot or building served in the same manner as a lien for taxes, provided all such liens shall continue until such time as they shall be discharged or foreclosed by the authority without the necessity of filing certificates of continuation, but in no event for longer than ten years.