fn extract_bearer_token(request: &Request) -> Result<String, StatusCode>
Extracts the Bearer token from the Authorization header of the request.