IIRC: the keyring password can only be (re)set, when the user is in his/her session. At the gdm stage this is not the case …