MAIN-1687 adding mock for User::newFromId