SERVER-134872ClosedFixed
Fix localhost exception remaining active after $external user creation
In a auth-enabled server bound to localhost, the localhost exception allows an unauthenticated user to run a tiny set of commands (e.g. createUser and createRole) in order to bootstrap the server and create the initial set of users. Under this mode, a {{createUser}} command is permitted if the authentication database is either "admin" or "$external" (see {{AuthorizationSessionImpl::_getDefaultPrivileges}} in [authorization_session_impl.cpp|https://github.com/10gen/mongo/blob/f9d5af03b27b1869dcb5