A historic ferry has sunk overnight at its berth in Auckland.