Implementing API Key Authentication in ASP.NET Core