generating password only when regenerating db