user-accounts: Fix crash when password dialog is cancelled

If "Esc" is pressed, the callbacks to handle the `focus-out` signal are
called after the `cc_password_dialog_dispose` function. This leads to
segfaults, because the `user` variable is already cleared. Let's simply
do not continue if `user == NULL` to fix those crashes.

Closes: #563
11 jobs for wip/oholy/password-crashes in 2 minutes and 57 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #320841
build

00:01:26

 
  Test
passed #320843
asan

00:01:31

passed #320842
test

00:01:01

 
  Manual
manual #320848
allowed to fail manual
armv8
manual #320844
allowed to fail manual
flatpak
manual #320847
allowed to fail manual
msan
manual #320849
allowed to fail manual
ppc64le
manual #320845
allowed to fail manual
tsan
manual #320846
allowed to fail manual
ubsan
 
  Review
manual #320850
allowed to fail manual
review
manual #320851
allowed to fail manual
stop_review