Setting cookie name for different environments automatically.