set creds if metadata service is available, avoid overwhelming metadata service all a once
0.9.7