https://stackoverflow.com/questions/13048954/how-to-login-to-a-spring-security-login-form-using-curl
curl --cookie-jar cookie -d username=<> -d password=<> -L https://<yoursite>/login
curl -sL -b cookies.txt "http://localhost:8080/authorized/url"
https://stackoverflow.com/questions/13048954/how-to-login-to-a-spring-security-login-form-using-curl
curl --cookie-jar cookie -d username=<> -d password=<> -L https://<yoursite>/login
curl -sL -b cookies.txt "http://localhost:8080/authorized/url"