Stated implementation for the Username/API Key authentication filter.