LPS-43515 Enable JSON web service to be invoked when portal context has been changed