Fix for refresh token error in communities