Manual:$wgCookiePrefix

Details
Set it to use a custom one. Setting to false or an empty string sets the default of using the database name.