Added authentication constraints to web.xml.

Updated packaging type to "war".