Fix Password::check UnitTest