Password checking doesn't work if keychain is not already unlocked
Originally reported in https://bugzilla.redhat.com/show_bug.cgi?id=1683674
Steps to reproduce copied from downstream bug report:
Steps to Reproduce:
- Enable Screen sharing in gnome setting
- Select "Require a password" in Access Options
- Fill the box with a password (in the meantime you are asked to insert the password to unlock the keyring)
- Login to the desktop from another host using a VNC viewer. It is required to use a password to authenticate.
- Logout from the session
- Login
- Try to reconnect via VNC, the previous password doesn't work anymore