Is there a way to do authentication using https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication
So server initially responds with a 401 Response and a WWW-Authenticate header, waits for a request which includes an Authorization header and user login, check if it matches, then carry on. Is this built in somehow in the framework? Or is there a way to do it with the existing API ?