Fixed exceptions for the refresh token