Upgrade protected resource servlet