Confirm password works correctly