Sends 401 response for unaithenticated requests