Fix reset password test

An unstable behaviour of the reset password form results in either
one of two error messages showing, so expect one or the other.