It might be good to run a mvn clean after you copy the .war out so that the resulting package doesn't include everything in the login/target directory.

In fact the package probably doesn't need the source after this so if you could delete all the previous source and target and only package the .war I wonder if that would be best?