Fix night mode zeriozing security credentials

Changing to/from nightmode would zeroize the credentials while setting a new
security lock, preventing the user from setting a security lock.

Bug: 225090316
Test: Manual with "adb shell cmd uimode night yes"
Change-Id: I1cc072ca9b85f72e94ec91ccd89a4a0aacf8d3b2
1 file changed