handle 401 response code (fix android 4.0)