Extending virial black hole mass estimates to low-luminosity or obscured AGN: the cases of NGC 4395 and MCG -01-24-012