Added new factory bean to maintain order of security filters