authentication: fix loopback detection

authentication: fix loopback detection

When an request is coming from a loopback interface, authentication is
not required. This commit fixes ipv4 addresses mapped inside ipv6
addresses, by first converting to a canonical address. There addresses
were otherwise falsely tested as a non loopback addresses.
  • [DH] Cargo.toml
  • [DH] src/authentication/authentication_service.rs