generate secret in __init__ Fixes #56