[FIX] keychain: unlock duration not properly set

The result of this appears that the secret got deleted immediately after it was requested, as the timeout parameter was set as 'undefined'