Corrected security work: changed default login form URL, defaut target URL after login and added logout mapping.