Microstructural effects on strain localization in a multiscale model for hydro-mechanical coupling