Fixed a few configuration issues. Also added default sys user and https
support for Spring security.