fix userid field in password dialog

add the correct value for userid field.

This commit should be squashed with "add controlle logic" later.