Fixed assertion issue when refresh_token is not used and access_token is expired.
Removed unnecessary semicolon ; character.
remove unnecessary yoda-style nil inequality check