Kenyan officials scrambled to avoid a possible Olympics ban after being ruled non-compliant by the World Anti-Doping Agency (WADA).