Fix the bug with multiple endpoints configured with basic auth

Auth filter been setting up in global context and affected all routes
defined within the application.