When settings.SECRET_KEY is set, also use this to generate key