Improve error message return when refresh token has expired

[finishes #78130846]

Signed-off-by: Simon Leung <leungs@us.ibm.com>