Allow specification of a shared secret for tests