def METHOD_NAME(password):
    try:
        password.value = base64.b64decode(password.value)
    except TypeError as e:
        # Note: encoded value is intentionally not displayed
        raise ValueError("Unable to decode base64 password: %s" % e)
    return password