<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def new_dcos_user(user_id, password):
 """ Provides a context with a newly created user. """

    o_token = dcos_acs_token()
    shakedown.add_user(user_id, password, user_id)

    token = shakedown.authenticate(user_id, password)
    dcos.config.set_val('core.dcos_acs_token', token)
    yield
    dcos.config.set_val('core.dcos_acs_token', o_token)
    shakedown.remove_user(user_id)