Removes the login/secret from the private scope.

Because otherwise, you can't set it from the initializer.