Checking the authentication filter.