def connect2(project_address):
    remote_api_stub.ConfigureRemoteApi(None, '/_ah/remote_api', auth_func2,
        project_address)
Getting 'Refreshing due to a 401' when trying to connect using remote_api