proxy authentication with logging