Weak localization coexisting with a magnetic field in a normal-metal-superconductor microbridge