Fix error Missing secret_key_base for production environment