Add login success URL and upgrade to servlet api 3.1.0