Fixed bat execution and empty access_token test.