Added checks so that only test users can have their passwords reset.