fix 401 request error in WordPress