Fixed application-context by adding serviceManagers to SecurityFilter
Adjusted tests for SecurityFilter