Added test for login filter