Test that when connecting to the maintenance socket, the user has superuser permissions, even if the authentication is enabled on the regular port.