IAM Sdk/Sample: Clean and revise codes. Code to handle the case of both Access token and Refresh token failed. (Incompleted)