Added test for port<int> failure if the port is not explicit. Fixed bug in authority implementation.