[FIX] keychain: unlock duration not properly set