Added logout filter and validated configuration.