Fix subdomain 'www', allow nils in mongoid in production