SecurityFilter changes to work under apache2