Secret key is now more secret by moving out of settings and autogenerating if non-existent.