get and reset secret in solitude (bug 820006)