the defaults for FormLogin and Logout should be based upon the login page url, so if the login page url is specified and the error page is not it should be loginPage + "?error" and if logout page is not specified the logout page should be loginPage + "?logout"
the defaults for FormLogin and Logout should be based upon the login page url, so if the login page url is specified and the error page is not it should be loginPage + "?error" and if logout page is not specified the logout page should be loginPage + "?logout"